<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/public :: #public_head"></head>
<body>
<header th:replace="/public :: #public_header"></header>
<section th:replace="/public :: #public_time"></section>
<!---->
<section class="publicMian ">
    <div class="left" th:replace="/public :: #public_left"></div>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面>>用户查看</span>
        </div>
        <div class="providerView">
<!--            <p>用户编号：<span th:text="${user.id}"></span></p>-->
            <p>用户名称：<span th:text="${user.username}"></span></p>
            <p>真是姓名：<span th:text="${user.realName}"></span></p>
            <p>用户性别：<span th:text="${user.gender == 1 ? '女':'男'}"></span></p>
            <p>用户生日：<span th:text="${#dates.format(user.birthday,'yyyy-MM-dd')}"></span></p>
            <p>用户类别：<span th:text="${user.userType==1 ? '管理员' : (user.userType==2 ? '经理' : '普通用户') }">经理</span></p>
            <P><button onclick="history.back()">返回</button></P>
        </div>
    </div>
</section>
<footer th:replace="/public::#public_footer"></footer>
</body>
</html>